package com.weipai.springboot.module.service;

import com.weipai.springboot.model.Brand;
import com.weipai.springboot.model.DemandCategory;
import com.weipai.springboot.model.ShopCategory;
import com.weipai.springboot.model.api.Response;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/07/27 17:49
 * 
 * 需求类别
 */
public interface DemandCategoryService {
    //保存
    Response save(DemandCategory demandCategory);
    
    //修改
    Response update(DemandCategory demandCategory);
    
    //删除
    Response deleteById(String demandCategoryId);

    //更改状态
    Response changeStatus(String demandCategoryId, Integer status);

    //获取数据（此方法查出的数据不包含逻辑删除的数据）
    List<DemandCategory> selectAllByDemandCategoryDel(int demandCategoryDel, String search, String sort, String way);

    //查询店铺类别详情
    Response getDemandCategoryById(String demandCategoryId);

    //批量删除
    Response batchDeleteById(String[] id);
}
